<!--
 * @Author: WangGuojian 1085844536@qq.com
 * @Date: 2024-07-03 12:28:09
 * @LastEditTime: 2024-07-03 12:43:45
 * @LastEditors: WangGuojian 1085844536@qq.com
 * @FilePath: \html\code\2_CSS\16_CSS_盒子模型\26_CSS_行内块的幽灵空白问题.html
 * @Description:
-->
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>CSS_行内块的幽灵空白问题</title>
    <style>
        div {
            width: 600px;
            background-color: skyblue;
            font-size: 0;
        }

        img {
            height: 200px;
            /* vertical-align: bottom; */
            /* display: block; */
        }
    </style>
</head>

<body>
    <div>
        <img src="../images/我的自拍.jpg" alt="">xg
    </div>
</body>

</html>